Repository navigation
ignore all type of thread reports to determine concierge report - #45713
Conversation
|
@allgandalf Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
@fabioh8010 Please review. 45700-concierge-chat-issue.mp4 |
fabioh8010
left a comment
There was a problem hiding this comment.
Makes sense, LGTM!
@rojiphil Is possible that it could happen to Expensify chat too? If the checklist is sent there and the user create threads or something?
The check for |
|
Looks good then, I've also checked here and confirmed the Expensify DM is not affected by this issue |
|
@mountiny Since the change is small can you please do the final review and take this further? |
Reviewer Checklist
Screenshots/VideosSimple change, author added recordings Android: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.0.10-2 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 9.0.10-3 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.10-7 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.0.11-5 🚀
|
Details
This PR fixes the logic (i.e here) for identifying a concierge chat. The current logic looks at the participant account id to determine if Concierge account id is present in it. However, the concierge account id would also be a participant in all its thread reports. So, while we need to check if the report is a thread report we do not have to explicitly check for
chattype reports as any thread report should not be considered as a concierge report. We achieve this by usingisThreadutility instead ofisChatThread.Fixed Issues
$ #45700
PROPOSAL:
Test
Prerequisite: Use an account which
a) Have
Conciergeas onboarding chatb) Have set up
Track and Manage Expensesonboarding stepc) Is in
Free trialSteps:
1 Verify that the LHN for
Track an Expensereport does not display theFree Trial Badge2 Click on the
Track an Expense3 Verify that the report header does not display the
Free Trial BadgeOffline tests
Same as the Steps in Tests Section.
QA Steps
Same as the Steps in Tests Section.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Desktop
45700-desktop-002.mp4
iOS
45700-ios-native-002.mp4
Android
45700-android-native-002.mp4
Mobile Web - Chrome
45700-mweb-chrome-002.mp4
Mobile Web - Safari
45700-mweb-safari-002.mp4
Web
45700-web-safari-002.mp4